*** tcp close for sock 86, type 'nil', protocol 'nil', reason: 'POLLHUP', request length: (no request) bytes ***. 	27.2.2022 	04:44:56 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	04:44:56 	lx 	(5. palvelin)

Sql field error, field number is not valid, field: 'prwo.json_data.start_subtype', sql:
	SELECT wos.production_lot, wos.type_, prwo.json_data->>'start_subtype', wos.subtype, wos.info, wos.record_id, wos.change_id, wo.state, wos.work_phase, prwo.json_data->>'start_person_id', prwo.person_id, wos.work_load_group_id, prwo.json_data->>'program_id', prwo.json_data, wos.work_description, prwo.json_data->>'start_work_shift', wos.start_date, wos.start_time, prwo.json_data->>'work_shift', wos.end_date, wos.end_time, prwo.work_hours, prwo.machine_hours, wos.produced_amount, wos.setup_time, wos.failed_amount, prwo.json_data->>'unpaid_hours', prwo.json_data->>'evening_work_hours', prwo.json_data->>'night_work_hours', wos.est_work_time__unit, prwo.cost_price, wos.track_time_status
 FROM work_order_schedule wos
 INNER JOIN work_order wo ON wo.production_lot = wos.production_lot
 WHERE wos.work_phase_state IN ('KU','AL') AND wo.state IN ('KU','AL') AND wos.work_load_group_id = 'SAH'
 INTO :_lx_atExe1,:_lx_alExe1,:_lx_atExe2,:_lx_atExe3,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_alExe2,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13,:_lx_alExe3,:_lx_adExe1,:_lx_alExe4,:_lx_alExe5,:_lx_adExe2,:_lx_alExe6,:_lx_arExe1,:_lx_arExe2,:_lx_arExe3,:_lx_arExe4,:_lx_arExe5,:_lx_arExe6,:_lx_arExe7,:_lx_arExe8,:_lx_arExe9,:_lx_arExe10,:_lx_alExe7
 	27.2.2022 	12:40:19 	_lx_ExecuteSqlNew 	(5. palvelin)

SELECT wos.production_lot, wos.type_, prwo.json_data->>'start_subtype', wos.subtype, wos.info, wos.record_id, wos.change_id, wo.state, wos.work_phase, prwo.json_data->>'start_person_id', prwo.person_id, wos.work_load_group_id, prwo.json_data->>'program_id', prwo.json_data, wos.work_description, prwo.json_data->>'start_work_shift', wos.start_date, wos.start_time, prwo.json_data->>'work_shift', wos.end_date, wos.end_time, prwo.work_hours, prwo.machine_hours, wos.produced_amount, wos.setup_time, wos.failed_amount, prwo.json_data->>'unpaid_hours', prwo.json_data->>'evening_work_hours', prwo.json_data->>'night_work_hours', wos.est_work_time__unit, prwo.cost_price, wos.track_time_status  FROM work_order_schedule wos  INNER JOIN work_order wo ON wo.production_lot = wos.production_lot  WHERE wos.work_phase_state IN ('KU','AL') AND wo.state IN ('KU','AL') AND wos.work_load_group_id = 'SAH'  INTO :_lx_atExe1,:_lx_alExe1,:_lx_atExe2,:_lx_atExe3,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_alExe2,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13,:_lx_alExe3,:_lx_adExe1,:_lx_alExe4,:_lx_alExe5,:_lx_adExe2,:_lx_alExe6,:_lx_arExe1,:_lx_arExe2,:_lx_arExe3,:_lx_arExe4,:_lx_arExe5,:_lx_arExe6,:_lx_arExe7,:_lx_arExe8,:_lx_arExe9,:_lx_arExe10,:_lx_alExe7
 - result _lx_atExe1 size: 0
 - query name: new:plugin/nc-calc-server/nc-workpost-query/work_query.json. 	27.2.2022 	12:40:19 	_lx_ExecuteSqlNew 	(5. palvelin)

4d execute sql error -1: Sql field error, field number is not valid, field: 'prwo.json_data.start_subtype', sql:
	SELECT wos.production_lot, wos.type_, prwo.json_data->>'start_subtype', wos.subtype, wos.info, wos.record_id, wos.change_id, wo.state, wos.work_phase, prwo.json_data->>'start_person_id', prwo.person_id, wos.work_load_group_id, prwo.json_data->>'program_id', prwo.json_data, wos.work_description, prwo.json_data->>'start_work_shift', wos.start_date, wos.start_time, prwo.json_data->>'work_shift', wos.end_date, wos.end_time, prwo.work_hours, prwo.machine_hours, wos.produced_amount, wos.setup_time, wos.failed_amount, prwo.json_data->>'unpaid_hours', prwo.json_data->>'evening_work_hours', prwo.json_data->>'night_work_hours', wos.est_work_time__unit, prwo.cost_price, wos.track_time_status
 FROM work_order_schedule wos
 INNER JOIN work_order wo ON wo.production_lot = wos.production_lot
 WHERE wos.work_phase_state IN ('KU','AL') AND wo.state IN ('KU','AL') AND wos.work_load_group_id = 'SAH'
 INTO :_lx_atExe1,:_lx_alExe1,:_lx_atExe2,:_lx_atExe3,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_alExe2,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13,:_lx_alExe3,:_lx_adExe1,:_lx_alExe4,:_lx_alExe5,:_lx_adExe2,:_lx_alExe6,:_lx_arExe1,:_lx_arExe2,:_lx_arExe3,:_lx_arExe4,:_lx_arExe5,:_lx_arExe6,:_lx_arExe7,:_lx_arExe8,:_lx_arExe9,:_lx_arExe10,:_lx_alExe7


SELECT wos.production_lot, wos.type_, prwo.json_data->>'start_subtype', wos.subtype, wos.info, wos.record_id, wos.change_id, wo.state, wos.work_phase, prwo.json_data->>'start_person_id', prwo.person_id, wos.work_load_group_id, prwo.json_data->>'program_id', prwo.json_data, wos.work_description, prwo.json_data->>'start_work_shift', wos.start_date, wos.start_time, prwo.json_data->>'work_shift', wos.end_date, wos.end_time, prwo.work_hours, prwo.machine_hours, wos.produced_amount, wos.setup_time, wos.failed_amount, prwo.json_data->>'unpaid_hours', prwo.json_data->>'evening_work_hours', prwo.json_data->>'night_work_hours', wos.est_work_time__unit, prwo.cost_price, wos.track_time_status
 FROM work_order_schedule wos
 INNER JOIN work_order wo ON wo.production_lot = wos.production_lot
 WHERE wos.work_phase_state IN ('KU','AL') AND wo.state IN ('KU','AL') AND wos.work_load_group_id = 'SAH'
 INTO :_lx_atExe1,:_lx_alExe1,:_lx_atExe2,:_lx_atExe3,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_alExe2,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13,:_lx_alExe3,:_lx_adExe1,:_lx_alExe4,:_lx_alExe5,:_lx_adExe2,:_lx_alExe6,:_lx_arExe1,:_lx_arExe2,:_lx_arExe3,:_lx_arExe4,:_lx_arExe5,:_lx_arExe6,:_lx_arExe7,:_lx_arExe8,:_lx_arExe9,:_lx_arExe10,:_lx_alExe7. 	27.2.2022 	12:40:19 	_lx_SERVER 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 668 bytes ***. 	27.2.2022 	12:45:12 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	12:45:12 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 021 bytes ***. 	27.2.2022 	12:49:10 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	12:49:10 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 032 bytes ***. 	27.2.2022 	12:50:05 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	12:50:05 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 023 bytes ***. 	27.2.2022 	12:52:05 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	12:52:05 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 024 bytes ***. 	27.2.2022 	12:54:35 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	12:54:35 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 021 bytes ***. 	27.2.2022 	13:01:49 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	13:01:49 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 031 bytes ***. 	27.2.2022 	13:02:09 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	13:02:09 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 026 bytes ***. 	27.2.2022 	13:02:25 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	13:02:25 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 021 bytes ***. 	27.2.2022 	14:00:43 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	14:00:43 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 023 bytes ***. 	27.2.2022 	14:02:10 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	14:02:10 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 028 bytes ***. 	27.2.2022 	14:06:52 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	14:06:52 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 015 bytes ***. 	27.2.2022 	14:09:41 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	14:09:41 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 027 bytes ***. 	27.2.2022 	14:11:25 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	14:11:25 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 025 bytes ***. 	27.2.2022 	14:12:18 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	14:12:18 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 032 bytes ***. 	27.2.2022 	14:21:59 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	14:21:59 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 020 bytes ***. 	27.2.2022 	14:38:29 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	14:38:29 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 034 bytes ***. 	27.2.2022 	14:39:31 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	14:39:31 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 025 bytes ***. 	27.2.2022 	15:02:55 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	15:02:55 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 029 bytes ***. 	27.2.2022 	15:18:00 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	15:18:00 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 026 bytes ***. 	27.2.2022 	15:24:01 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	15:24:01 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 052 bytes ***. 	27.2.2022 	17:02:30 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	17:02:30 	lx 	(5. palvelin)

*** tcp close for sock 86, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 146 bytes ***. 	27.2.2022 	17:34:48 	lx 	(5. palvelin)

closing socket '86'. 	27.2.2022 	17:34:48 	lx 	(5. palvelin)

